<template>
  <div>
    <header>
      <div class="headerDiv">
        <span class="head_icon" @click="$router.go(-1)"></span>
        <h1 class="title">湖北省安全生产网络培训系统</h1>
      </div>
    </header>
  </div>
</template>

<script>
export default {
    name: 'app-header',
  data() {
    return {};
  },
  created() {},
  methods: {}
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
header {
  height: 64px;
  line-height: 64px;
  background-color: #2269ff;
  position: fixed;
  width:100%;
  top:0;
  z-index: 99999;
}
.headerDiv {
  padding-top: 0;
}
.title {
  font-size: 18px;
  color: #ffffff;
  text-align: center;
}
.head_icon {
  display: inline-block;
  background: url("../assets/images/back@3x.png") no-repeat;
  background-size: 100% 100%;
  width: 13px;
  height: 22px;
  position: absolute;
  left: 15px;
  top: 20px;
}
</style>
